<?php

namespace App\Http\Controllers;

use App\Constants\ResponseCodeConstant;
use App\Services\AdminMemberLevelService;

/**
 * 会员等级管理
 * Class AdminUserController
 * @package App\Http\Controllers
 */
class AdminMemberLevelController extends BaseController
{
    public function list()
    {
        $result = AdminMemberLevelService::getInstance()->list();
        if ($result) {
            return $this->success($result);
        }
        return $this->fail(ResponseCodeConstant::SEARCH_FAILED,'会员等级信息异常');
    }

}
